package com.xmtlxx.common.tengbo.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@ApiModel("API接口-接收已入柜物品请求视图对象")
public class SmartCabinetInVo {

    @ApiModelProperty(value = "入柜类型 0正常入柜 1变更库位")
    private Integer entryType;
    @NotBlank(message = "财物编号不能为空")
    @ApiModelProperty(value = "财物编号，多条物品，用英文\",\" 分隔", example = "PCS*******00001,PCS*****000002")
    private String proId;
    @NotBlank(message = "智能柜id不能为空")
    @ApiModelProperty(value = "智能柜id")
    private String smartCabinetId;
    @NotBlank(message = "智能柜格口不能为空")
    @ApiModelProperty(value = "智能柜格口")
    private String smartCabinetGrid;
    @NotNull(message = "入柜时间不能为空")
    @ApiModelProperty(value = "入柜时间")
    private Long inSmartCabinetTime;
    @ApiModelProperty(value="是否已存满 0未满， 1已存满")
    private Integer isFull;
    @ApiModelProperty(value = "货道ID")
    private Long cabinetAisleRelaId;
}
